<template>
  <div>
    <!-- 网站信息 -->
    <div class="side-container">
      <div class="item">
        <router-link :to="{ name: 'recruit', params: {} }">
          <div class="icon">
            <img :src="recruitimg" alt>
          </div>
          <h3>发布招聘</h3>
        </router-link>
      </div>
      <div class="item">
        <router-link :to="{ name: 'partjob', params: {} }">
          <div class="icon">
            <img :src="partjobimg" alt>
          </div>
          <h3>发布兼职</h3>
        </router-link>
      </div>
      <div class="item">
        <router-link :to="{ name: 'resume', params: {} }">
          <div class="icon">
            <img :src="resumeimg" alt>
          </div>
          <h3>登记简历</h3>
        </router-link>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: [""],
  data() {
    return {
      recruitimg:'',
      resumeimg: '',
      partjobimg: '',
    };
  }
};
</script>
<style lang="scss">
.side-container {
  width: 76px;
  position: fixed;
  right: 18px;
  top: 50%;
  margin-top: -156px;
  z-index: 200;

  .item {
    margin-bottom: 10px;
    padding-top: 5px;
    height: 76px;
    background: linear-gradient(
      315deg,
      rgba(105, 183, 250, 1) 0,
      rgba(56, 144, 244, 1) 100%
    );
    border-radius: 4px;
    overflow: hidden;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;

    .icon {
      width: 40px;
      height: 40px;
      line-height: 40px;
      margin: 0 auto;
      text-align: center;

      img {
        max-width: 100%;
        height: auto;
        display: inline-block;
        vertical-align: middle;
      }
     
    }
     h3 {
              margin-top: 2px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    line-height: 20px;
    font-weight: 400;
      }
  }
}
</style>

